Example #1
0
 def __init__(self, Structure, Scopes):
     node.__init__(
         self, Structure, Scopes,
         parseYML(u"""
 properties:
   props:
     type: object
     patternProperties:
       '^([A-z0-9_-])+$': {}
   class:
     enum: [master]
     default: master
 """))
Example #2
0
 def __init__(self, Structure, Scopes):
     node.__init__(
         self, Structure, Scopes,
         parseYML(u"""
 properties:
   allOf:
     - $ref: '#/definitions/providable'
     - type: object
       properties:
         class:
           enum: [app]
           default: app
         props:
           type: object
           patternProperties:
             '^([A-z0-9_-])+$': {}
 """))
Example #3
0
 def __init__(self, Structure, Scopes):
     node.__init__(self, Structure, Scopes,
                   getSchemaExtension('crud.resource'))
Example #4
0
 def __init__(self, Structure, Scopes):
     node.__init__(self, Structure, Scopes,
                   getSchemaExtension('crud.field'))
Example #5
0
 def __init__(self, Structure, Scopes):
     node.__init__(self, Structure, Scopes)
Example #6
0
 def __init__(self, Structure, Scopes):
     node.__init__(self, Structure, Scopes,
                   getSchemaExtension(__plugin_name__))
Example #7
0
 def __init__(self, Structure, Scopes):
     node.__init__(self, Structure, Scopes,
                   getSchemaExtension('rest.client.element.button'))