Download schema/cases.json from Giuliocc/doxa-pilot: direct link, hf CLI and curl.
- Browser
- Download file 5.12 kB
-
https://huggingface.co/datasets/Giuliocc/doxa-pilot/resolve/main/schema/cases.json
- Command line
-
hf download hf://datasets/Giuliocc/doxa-pilot/schema/cases.json
-
curl -L -o cases.json https://huggingface.co/datasets/Giuliocc/doxa-pilot/resolve/main/schema/cases.json
5.12 kB
| { | |
| "$defs": { | |
| "Segment": { | |
| "additionalProperties": false, | |
| "properties": { | |
| "schema_version": { | |
| "const": "1.0.0", | |
| "default": "1.0.0", | |
| "title": "Schema Version", | |
| "type": "string" | |
| }, | |
| "segment_id": { | |
| "title": "Segment Id", | |
| "type": "string" | |
| }, | |
| "text": { | |
| "title": "Text", | |
| "type": "string" | |
| }, | |
| "provenance": { | |
| "enum": [ | |
| "fictional_dossier", | |
| "user_supplied", | |
| "source_record" | |
| ], | |
| "title": "Provenance", | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "segment_id", | |
| "text", | |
| "provenance" | |
| ], | |
| "title": "Segment", | |
| "type": "object" | |
| }, | |
| "SourceRecord": { | |
| "additionalProperties": false, | |
| "properties": { | |
| "url": { | |
| "title": "Url", | |
| "type": "string" | |
| }, | |
| "title": { | |
| "title": "Title", | |
| "type": "string" | |
| }, | |
| "issuing_body": { | |
| "title": "Issuing Body", | |
| "type": "string" | |
| }, | |
| "publication_date": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ], | |
| "title": "Publication Date" | |
| }, | |
| "retrieved_at": { | |
| "title": "Retrieved At", | |
| "type": "string" | |
| }, | |
| "locator": { | |
| "title": "Locator", | |
| "type": "string" | |
| }, | |
| "content_sha256": { | |
| "title": "Content Sha256", | |
| "type": "string" | |
| }, | |
| "reuse_basis": { | |
| "title": "Reuse Basis", | |
| "type": "string" | |
| }, | |
| "excerpt_limits": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ], | |
| "title": "Excerpt Limits" | |
| } | |
| }, | |
| "required": [ | |
| "url", | |
| "title", | |
| "issuing_body", | |
| "publication_date", | |
| "retrieved_at", | |
| "locator", | |
| "content_sha256", | |
| "reuse_basis", | |
| "excerpt_limits" | |
| ], | |
| "title": "SourceRecord", | |
| "type": "object" | |
| } | |
| }, | |
| "additionalProperties": false, | |
| "properties": { | |
| "schema_version": { | |
| "const": "1.0.0", | |
| "default": "1.0.0", | |
| "title": "Schema Version", | |
| "type": "string" | |
| }, | |
| "case_id": { | |
| "title": "Case Id", | |
| "type": "string" | |
| }, | |
| "document_id": { | |
| "title": "Document Id", | |
| "type": "string" | |
| }, | |
| "thread_id": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ], | |
| "title": "Thread Id" | |
| }, | |
| "family_id": { | |
| "title": "Family Id", | |
| "type": "string" | |
| }, | |
| "event_id": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ], | |
| "title": "Event Id" | |
| }, | |
| "language": { | |
| "const": "en", | |
| "title": "Language", | |
| "type": "string" | |
| }, | |
| "text": { | |
| "maxLength": 6000, | |
| "minLength": 1, | |
| "title": "Text", | |
| "type": "string" | |
| }, | |
| "context_segments": { | |
| "items": { | |
| "$ref": "#/$defs/Segment" | |
| }, | |
| "title": "Context Segments", | |
| "type": "array" | |
| }, | |
| "focal_speaker": { | |
| "title": "Focal Speaker", | |
| "type": "string" | |
| }, | |
| "assessment_scope": { | |
| "const": "focal_speaker_endorsement", | |
| "title": "Assessment Scope", | |
| "type": "string" | |
| }, | |
| "source_origin": { | |
| "enum": [ | |
| "synthetic", | |
| "authentic", | |
| "adapted" | |
| ], | |
| "title": "Source Origin", | |
| "type": "string" | |
| }, | |
| "source_record": { | |
| "anyOf": [ | |
| { | |
| "$ref": "#/$defs/SourceRecord" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "source_license": { | |
| "title": "Source License", | |
| "type": "string" | |
| }, | |
| "topic_tags": { | |
| "items": { | |
| "type": "string" | |
| }, | |
| "title": "Topic Tags", | |
| "type": "array" | |
| }, | |
| "explicit_target_context": { | |
| "title": "Explicit Target Context", | |
| "type": "string" | |
| }, | |
| "created_by": { | |
| "title": "Created By", | |
| "type": "string" | |
| }, | |
| "created_at": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ], | |
| "title": "Created At" | |
| }, | |
| "split": { | |
| "enum": [ | |
| "train", | |
| "validation", | |
| "test", | |
| "challenge" | |
| ], | |
| "title": "Split", | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "case_id", | |
| "document_id", | |
| "thread_id", | |
| "family_id", | |
| "event_id", | |
| "language", | |
| "text", | |
| "context_segments", | |
| "focal_speaker", | |
| "assessment_scope", | |
| "source_origin", | |
| "source_record", | |
| "source_license", | |
| "topic_tags", | |
| "explicit_target_context", | |
| "created_by", | |
| "created_at", | |
| "split" | |
| ], | |
| "title": "Case", | |
| "type": "object" | |
| } | |