composer_schema_v1.json (2078B)
1 { 2 "schema": "tera.composer.schema-descriptor.v1", 3 "payload_schema": "tera.composer.v1", 4 "schema_version": 1, 5 "encoding": "utf8_json", 6 "unknown_fields": "reject", 7 "payload_fields": ["schema_version", "schema_sha256", "scope", "edit_sequence", "form"], 8 "scope_fields": ["author", "local_network"], 9 "form_fields": [ 10 "command_type", "content", "identifier", "title", "summary", "location", 11 "event_timing", "event_start_date", "event_end_date", "event_start_unix_s", 12 "event_end_unix_s", "event_timezone", "price_amount", "currency", "unit", 13 "quantity", "food_published_at_unix_s", "food_status", "media" 14 ], 15 "media_fields": [ 16 "opaque_reference", "sha256", "media_type", "byte_size", "width", "height", 17 "alt", "prepared_at_unix_s" 18 ], 19 "creation_families": [ 20 "CreateUpdate", "CreatePhotoUpdate", "CreateAsk", "CreateEvent", "CreateFoodAvailability" 21 ], 22 "event_timing": ["all_day", "timed"], 23 "bounds": { 24 "payload_bytes": 1048576, 25 "content_utf8_bytes": 65535, 26 "partial_text_utf8_bytes": 1024, 27 "media_count": 20, 28 "media_reference_bytes": 256, 29 "media_type_utf8_bytes": 128, 30 "media_alt_utf8_bytes": 1024, 31 "media_file_bytes": 10485760, 32 "local_network_utf8_bytes": 256, 33 "revision_max": 9223372036854775807, 34 "edit_sequence_max": 18446744073709551615, 35 "timestamp_ms_max": 9223372036854775807 36 }, 37 "envelope": { 38 "owner": "AuthoredDraft", 39 "draft_id": "nonzero_16_bytes", 40 "author": "validated_x_only_public_key", 41 "scope": "required_stable_scope_digest", 42 "stage": "draft", 43 "operation_id": null, 44 "revision": "positive_checked_shared_revision", 45 "timestamps": "positive_created_and_nondecreasing_updated" 46 }, 47 "scope_hash": { 48 "algorithm": "sha256", 49 "domain": "tera.composer-scope.v1", 50 "zero_terminator": true, 51 "parts": ["author_32_bytes", "local_network_length_u32_be", "local_network_utf8"] 52 }, 53 "partial_fields": "preserve_exact_utf8_without_publication_validation", 54 "media_metadata": "not_evidence_of_byte_ownership_or_upload_readiness" 55 }