Ejemplo n.º 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
 """))
Ejemplo n.º 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_-])+$': {}
 """))
Ejemplo n.º 3
0
 def __init__(self, Structure, Scopes):
     node.__init__(self, Structure, Scopes,
                   getSchemaExtension('crud.resource'))
Ejemplo n.º 4
0
 def __init__(self, Structure, Scopes):
     node.__init__(self, Structure, Scopes,
                   getSchemaExtension('crud.field'))
Ejemplo n.º 5
0
 def __init__(self, Structure, Scopes):
     node.__init__(self, Structure, Scopes)
Ejemplo n.º 6
0
 def __init__(self, Structure, Scopes):
     node.__init__(self, Structure, Scopes,
                   getSchemaExtension(__plugin_name__))
Ejemplo n.º 7
0
 def __init__(self, Structure, Scopes):
     node.__init__(self, Structure, Scopes,
                   getSchemaExtension('rest.client.element.button'))