def match(self, schema: Json): ref = schema.get("$ref") return ref in [ "#/definitions/Image", "#/definitions/Images", ]
def match(self, schema: Json): ref = schema.get('$ref') return ref in [ '#/definitions/Metadata', '#/definitions/Metadatas', ]
def match(self, schema: Json): return schema.get("type") == "object"
def match(self, schema: Json): return schema.get('type') == 'number'
def match(self, schema: Json): return schema.get("type") is not None
def match(self, schema: Json): return schema.get('type') == 'array'
def match(self, schema: Json): return schema.get('type') == 'string'