def ill_request_schema(monkeypatch): """ILL requests JSONSchema for records.""" schema_in_bytes = resource_string( 'rero_ils.modules.ill_requests.jsonschemas', '/ill_requests/ill_request-v0.0.1.json') return get_schema(monkeypatch, schema_in_bytes)
def notification_schema(monkeypatch): """Notifications Jsonschema for records.""" schema_in_bytes = resource_string( 'rero_ils.modules.notifications.jsonschemas', '/notifications/notification-v0.0.1.json') return get_schema(monkeypatch, schema_in_bytes)
def holding_schema(monkeypatch): """Holdings Jsonschema for records.""" schema_in_bytes = resource_string('rero_ils.modules.holdings.jsonschemas', '/holdings/holding-v0.0.1.json') return get_schema(monkeypatch, schema_in_bytes)
def item_schema(monkeypatch): """Item Jsonschema for records.""" schema_in_bytes = resource_string('rero_ils.modules.items.jsonschemas', 'items/item-v0.0.1.json') return get_schema(monkeypatch, schema_in_bytes)
def document_schema(monkeypatch): """Jsonschema for documents.""" schema_in_bytes = resource_string('rero_ils.modules.documents.jsonschemas', 'documents/document-v0.0.1.json') return get_schema(monkeypatch, schema_in_bytes)
def contributions_schema(monkeypatch): """Patron Jsonschema for records.""" schema_in_bytes = resource_string( 'rero_ils.modules.contributions.jsonschemas', '/contributions/contribution-v0.0.1.json') return get_schema(monkeypatch, schema_in_bytes)
def patron_transaction_event_schema(monkeypatch): """Patron transaction event Jsonschema for records.""" schema_in_bytes = resource_string( 'rero_ils.modules.patron_transaction_events.jsonschemas', 'patron_transaction_events/patron_transaction_event-v0.0.1.json') return get_schema(monkeypatch, schema_in_bytes)