Schemas
Capability
{
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 200
},
"site_id": {
"type": "string",
"const": "ursy.art"
},
"kind": {
"const": "tool"
},
"title": {
"type": "string",
"maxLength": 200
},
"description": {
"type": "string",
"maxLength": 4000
},
"canonical_url": {
"type": "string",
"maxLength": 2048,
"format": "uri"
},
"categories": {
"type": "array",
"items": {
"type": "string",
"maxLength": 100
},
"maxItems": 20
},
"stage": {
"const": "live"
},
"visibility": {
"const": "public"
},
"observed_at": {
"type": "string",
"maxLength": 40,
"format": "date-time"
},
"valid_until": {
"type": "string",
"maxLength": 40,
"format": "date-time"
},
"source_revision": {
"type": "string",
"maxLength": 300
},
"effect": {
"const": "read"
},
"operation_id": {
"type": "string",
"enum": [
"search_artworks",
"get_artworks",
"get_artwork",
"resolve_artwork_reference",
"search_creators",
"get_creator_profile",
"get_creator_works",
"browse_subjects",
"get_subject_collection",
"browse_museums",
"get_museum_collection",
"get_image_assets",
"get_reuse_evidence",
"filter_by_reuse_policy",
"make_credit_lines",
"get_image_package",
"get_canonical_asset",
"get_image_provenance",
"resolve_image",
"match_image",
"compare_artworks",
"build_art_timeline",
"get_image_palette",
"find_art_by_palette",
"find_visually_similar_art",
"suggest_image_fit",
"estimate_print_size",
"build_responsive_image_set",
"build_image_request",
"assemble_gallery",
"build_moodboard_manifest",
"build_teaching_pack",
"get_artwork_fact_sheet",
"get_daily_selection",
"export_collection",
"find_replacement_image",
"get_catalogue_facets",
"get_collection_statistics",
"get_changes",
"get_asset_changes",
"get_sources",
"get_source_status",
"get_service_catalogue"
]
},
"schema_id": {
"type": "string",
"maxLength": 200
},
"schema_url": {
"type": "string",
"maxLength": 2048,
"format": "uri"
},
"input_schema": {
"type": "object",
"maxProperties": 100,
"description": "A JSON Schema or an absolute reference to the native Art contract."
},
"output_schema": {
"type": "object",
"maxProperties": 100,
"description": "A JSON Schema or an absolute reference to the native Art contract."
},
"auth_audience": {
"const": "public"
},
"auth_scopes": {
"type": "array",
"items": {
"type": "string",
"maxLength": 200
},
"maxItems": 0
},
"execution_location": {
"const": "server"
},
"format": {
"const": "application/json"
},
"requirements": {
"type": "string",
"maxLength": 1000
},
"limits": {
"type": "string",
"maxLength": 1000
}
},
"required": [
"id",
"site_id",
"kind",
"title",
"description",
"canonical_url",
"categories",
"stage",
"visibility",
"observed_at",
"valid_until",
"source_revision",
"effect",
"operation_id",
"schema_id",
"schema_url",
"input_schema",
"output_schema",
"auth_audience",
"auth_scopes",
"execution_location",
"format",
"requirements",
"limits"
],
"additionalProperties": false
}