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