Download schema.json from RegalFire/Scientific-Answer-Ranking: direct link, hf CLI and curl.
- Browser
- Download file 19.6 kB
-
https://huggingface.co/datasets/RegalFire/Scientific-Answer-Ranking/resolve/main/schema.json
- Command line
-
hf download hf://datasets/RegalFire/Scientific-Answer-Ranking/schema.json
-
curl -L -o schema.json https://huggingface.co/datasets/RegalFire/Scientific-Answer-Ranking/resolve/main/schema.json
19.6 kB
| { | |
| "type": "object", | |
| "properties": { | |
| "record_id": { | |
| "type": "string" | |
| }, | |
| "product": { | |
| "const": "ranking" | |
| }, | |
| "thread": { | |
| "type": "object", | |
| "properties": { | |
| "thread_id": { | |
| "type": "string", | |
| "pattern": "^(stats|scicomp|biology):[0-9]+$" | |
| }, | |
| "source_site": { | |
| "enum": [ | |
| "stats", | |
| "scicomp", | |
| "biology" | |
| ] | |
| }, | |
| "title": { | |
| "type": "string", | |
| "minLength": 1 | |
| }, | |
| "question_text": { | |
| "type": "string", | |
| "minLength": 20 | |
| }, | |
| "question_html": { | |
| "type": "string" | |
| }, | |
| "question_author": { | |
| "type": "string" | |
| }, | |
| "question_author_url": { | |
| "type": [ | |
| "string", | |
| "null" | |
| ] | |
| }, | |
| "question_author_user_type": { | |
| "type": "string" | |
| }, | |
| "question_created_at": { | |
| "type": "string" | |
| }, | |
| "question_score": { | |
| "type": "integer" | |
| }, | |
| "tags": { | |
| "type": "array", | |
| "minItems": 1, | |
| "uniqueItems": true, | |
| "items": { | |
| "type": "string" | |
| } | |
| }, | |
| "question_license": { | |
| "enum": [ | |
| "CC BY-SA 2.5", | |
| "CC BY-SA 3.0", | |
| "CC BY-SA 4.0" | |
| ] | |
| }, | |
| "accepted_answer_id": { | |
| "type": [ | |
| "integer", | |
| "null" | |
| ] | |
| }, | |
| "answers": { | |
| "type": "array", | |
| "minItems": 1, | |
| "items": { | |
| "type": "object", | |
| "properties": { | |
| "answer_id": { | |
| "type": "integer" | |
| }, | |
| "question_id": { | |
| "type": "integer" | |
| }, | |
| "answer_text": { | |
| "type": "string", | |
| "minLength": 20 | |
| }, | |
| "answer_html": { | |
| "type": "string" | |
| }, | |
| "created_at": { | |
| "type": "string" | |
| }, | |
| "updated_at": { | |
| "type": "string" | |
| }, | |
| "score": { | |
| "type": "integer" | |
| }, | |
| "is_accepted": { | |
| "type": "boolean" | |
| }, | |
| "content_license": { | |
| "enum": [ | |
| "CC BY-SA 2.5", | |
| "CC BY-SA 3.0", | |
| "CC BY-SA 4.0" | |
| ] | |
| }, | |
| "answer_url": { | |
| "type": "string" | |
| }, | |
| "provenance": { | |
| "type": "object", | |
| "properties": { | |
| "source_api": { | |
| "type": "string" | |
| }, | |
| "source_url": { | |
| "type": "string" | |
| }, | |
| "collected_at": { | |
| "type": "string" | |
| }, | |
| "raw_file": { | |
| "type": "string" | |
| }, | |
| "raw_sha256": { | |
| "type": "string", | |
| "pattern": "^[a-f0-9]{64}$" | |
| }, | |
| "license": { | |
| "enum": [ | |
| "CC BY-SA 2.5", | |
| "CC BY-SA 3.0", | |
| "CC BY-SA 4.0" | |
| ] | |
| }, | |
| "license_url": { | |
| "type": "string" | |
| }, | |
| "attribution_required": { | |
| "const": true | |
| }, | |
| "transformation": { | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "source_api", | |
| "source_url", | |
| "collected_at", | |
| "raw_file", | |
| "raw_sha256", | |
| "license", | |
| "license_url", | |
| "attribution_required", | |
| "transformation" | |
| ], | |
| "additionalProperties": false | |
| }, | |
| "revision_attribution": { | |
| "type": "array", | |
| "minItems": 1, | |
| "items": { | |
| "type": "object", | |
| "properties": { | |
| "revision_guid": { | |
| "type": "string" | |
| }, | |
| "revision_number": { | |
| "type": [ | |
| "integer", | |
| "null" | |
| ] | |
| }, | |
| "revision_type": { | |
| "type": "string" | |
| }, | |
| "created_at": { | |
| "type": "string" | |
| }, | |
| "content_license": { | |
| "anyOf": [ | |
| { | |
| "enum": [ | |
| "CC BY-SA 2.5", | |
| "CC BY-SA 3.0", | |
| "CC BY-SA 4.0" | |
| ] | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "contributor": { | |
| "type": "object", | |
| "properties": { | |
| "display_name": { | |
| "type": "string" | |
| }, | |
| "profile_url": { | |
| "type": [ | |
| "string", | |
| "null" | |
| ] | |
| }, | |
| "user_type": { | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "display_name", | |
| "profile_url", | |
| "user_type" | |
| ], | |
| "additionalProperties": false | |
| }, | |
| "revision_url": { | |
| "type": "string" | |
| }, | |
| "raw_file": { | |
| "type": "string" | |
| }, | |
| "raw_sha256": { | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "revision_guid", | |
| "revision_number", | |
| "revision_type", | |
| "created_at", | |
| "content_license", | |
| "contributor", | |
| "revision_url", | |
| "raw_file", | |
| "raw_sha256" | |
| ], | |
| "additionalProperties": false | |
| } | |
| }, | |
| "author": { | |
| "type": "string" | |
| }, | |
| "author_url": { | |
| "type": [ | |
| "string", | |
| "null" | |
| ] | |
| }, | |
| "author_user_type": { | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "answer_id", | |
| "question_id", | |
| "answer_text", | |
| "answer_html", | |
| "created_at", | |
| "updated_at", | |
| "score", | |
| "is_accepted", | |
| "content_license", | |
| "answer_url", | |
| "provenance", | |
| "revision_attribution", | |
| "author", | |
| "author_url", | |
| "author_user_type" | |
| ], | |
| "additionalProperties": false | |
| } | |
| }, | |
| "provenance": { | |
| "type": "object", | |
| "properties": { | |
| "source_api": { | |
| "type": "string" | |
| }, | |
| "source_url": { | |
| "type": "string" | |
| }, | |
| "collected_at": { | |
| "type": "string" | |
| }, | |
| "raw_file": { | |
| "type": "string" | |
| }, | |
| "raw_sha256": { | |
| "type": "string", | |
| "pattern": "^[a-f0-9]{64}$" | |
| }, | |
| "license": { | |
| "enum": [ | |
| "CC BY-SA 2.5", | |
| "CC BY-SA 3.0", | |
| "CC BY-SA 4.0" | |
| ] | |
| }, | |
| "license_url": { | |
| "type": "string" | |
| }, | |
| "attribution_required": { | |
| "const": true | |
| }, | |
| "transformation": { | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "source_api", | |
| "source_url", | |
| "collected_at", | |
| "raw_file", | |
| "raw_sha256", | |
| "license", | |
| "license_url", | |
| "attribution_required", | |
| "transformation" | |
| ], | |
| "additionalProperties": false | |
| }, | |
| "revision_attribution": { | |
| "type": "array", | |
| "minItems": 1, | |
| "items": { | |
| "type": "object", | |
| "properties": { | |
| "revision_guid": { | |
| "type": "string" | |
| }, | |
| "revision_number": { | |
| "type": [ | |
| "integer", | |
| "null" | |
| ] | |
| }, | |
| "revision_type": { | |
| "type": "string" | |
| }, | |
| "created_at": { | |
| "type": "string" | |
| }, | |
| "content_license": { | |
| "anyOf": [ | |
| { | |
| "enum": [ | |
| "CC BY-SA 2.5", | |
| "CC BY-SA 3.0", | |
| "CC BY-SA 4.0" | |
| ] | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "contributor": { | |
| "type": "object", | |
| "properties": { | |
| "display_name": { | |
| "type": "string" | |
| }, | |
| "profile_url": { | |
| "type": [ | |
| "string", | |
| "null" | |
| ] | |
| }, | |
| "user_type": { | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "display_name", | |
| "profile_url", | |
| "user_type" | |
| ], | |
| "additionalProperties": false | |
| }, | |
| "revision_url": { | |
| "type": "string" | |
| }, | |
| "raw_file": { | |
| "type": "string" | |
| }, | |
| "raw_sha256": { | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "revision_guid", | |
| "revision_number", | |
| "revision_type", | |
| "created_at", | |
| "content_license", | |
| "contributor", | |
| "revision_url", | |
| "raw_file", | |
| "raw_sha256" | |
| ], | |
| "additionalProperties": false | |
| } | |
| }, | |
| "medical_sensitive": { | |
| "type": "boolean" | |
| }, | |
| "patient_specific": { | |
| "const": false | |
| }, | |
| "split_group": { | |
| "type": "string" | |
| }, | |
| "split": { | |
| "enum": [ | |
| "train", | |
| "validation", | |
| "test", | |
| "holdout" | |
| ] | |
| }, | |
| "question_id": { | |
| "type": "integer" | |
| }, | |
| "domain": { | |
| "enum": [ | |
| "statistics", | |
| "computational_science", | |
| "biology" | |
| ] | |
| }, | |
| "source_url": { | |
| "type": "string" | |
| }, | |
| "external_links": { | |
| "type": "array", | |
| "items": { | |
| "type": "string" | |
| }, | |
| "uniqueItems": true | |
| } | |
| }, | |
| "required": [ | |
| "thread_id", | |
| "source_site", | |
| "title", | |
| "question_text", | |
| "question_html", | |
| "question_author", | |
| "question_author_url", | |
| "question_author_user_type", | |
| "question_created_at", | |
| "question_score", | |
| "tags", | |
| "question_license", | |
| "accepted_answer_id", | |
| "answers", | |
| "provenance", | |
| "revision_attribution", | |
| "medical_sensitive", | |
| "patient_specific", | |
| "split_group", | |
| "split", | |
| "question_id", | |
| "domain", | |
| "source_url", | |
| "external_links" | |
| ], | |
| "additionalProperties": false | |
| }, | |
| "split": { | |
| "enum": [ | |
| "train", | |
| "validation", | |
| "test", | |
| "holdout" | |
| ] | |
| }, | |
| "question": { | |
| "type": "string" | |
| }, | |
| "candidate_answers": { | |
| "type": "array", | |
| "minItems": 2, | |
| "items": { | |
| "type": "object", | |
| "properties": { | |
| "answer_id": { | |
| "type": "integer" | |
| }, | |
| "question_id": { | |
| "type": "integer" | |
| }, | |
| "answer_text": { | |
| "type": "string", | |
| "minLength": 20 | |
| }, | |
| "answer_html": { | |
| "type": "string" | |
| }, | |
| "created_at": { | |
| "type": "string" | |
| }, | |
| "updated_at": { | |
| "type": "string" | |
| }, | |
| "score": { | |
| "type": "integer" | |
| }, | |
| "is_accepted": { | |
| "type": "boolean" | |
| }, | |
| "content_license": { | |
| "enum": [ | |
| "CC BY-SA 2.5", | |
| "CC BY-SA 3.0", | |
| "CC BY-SA 4.0" | |
| ] | |
| }, | |
| "answer_url": { | |
| "type": "string" | |
| }, | |
| "provenance": { | |
| "type": "object", | |
| "properties": { | |
| "source_api": { | |
| "type": "string" | |
| }, | |
| "source_url": { | |
| "type": "string" | |
| }, | |
| "collected_at": { | |
| "type": "string" | |
| }, | |
| "raw_file": { | |
| "type": "string" | |
| }, | |
| "raw_sha256": { | |
| "type": "string", | |
| "pattern": "^[a-f0-9]{64}$" | |
| }, | |
| "license": { | |
| "enum": [ | |
| "CC BY-SA 2.5", | |
| "CC BY-SA 3.0", | |
| "CC BY-SA 4.0" | |
| ] | |
| }, | |
| "license_url": { | |
| "type": "string" | |
| }, | |
| "attribution_required": { | |
| "const": true | |
| }, | |
| "transformation": { | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "source_api", | |
| "source_url", | |
| "collected_at", | |
| "raw_file", | |
| "raw_sha256", | |
| "license", | |
| "license_url", | |
| "attribution_required", | |
| "transformation" | |
| ], | |
| "additionalProperties": false | |
| }, | |
| "revision_attribution": { | |
| "type": "array", | |
| "minItems": 1, | |
| "items": { | |
| "type": "object", | |
| "properties": { | |
| "revision_guid": { | |
| "type": "string" | |
| }, | |
| "revision_number": { | |
| "type": [ | |
| "integer", | |
| "null" | |
| ] | |
| }, | |
| "revision_type": { | |
| "type": "string" | |
| }, | |
| "created_at": { | |
| "type": "string" | |
| }, | |
| "content_license": { | |
| "anyOf": [ | |
| { | |
| "enum": [ | |
| "CC BY-SA 2.5", | |
| "CC BY-SA 3.0", | |
| "CC BY-SA 4.0" | |
| ] | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "contributor": { | |
| "type": "object", | |
| "properties": { | |
| "display_name": { | |
| "type": "string" | |
| }, | |
| "profile_url": { | |
| "type": [ | |
| "string", | |
| "null" | |
| ] | |
| }, | |
| "user_type": { | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "display_name", | |
| "profile_url", | |
| "user_type" | |
| ], | |
| "additionalProperties": false | |
| }, | |
| "revision_url": { | |
| "type": "string" | |
| }, | |
| "raw_file": { | |
| "type": "string" | |
| }, | |
| "raw_sha256": { | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "revision_guid", | |
| "revision_number", | |
| "revision_type", | |
| "created_at", | |
| "content_license", | |
| "contributor", | |
| "revision_url", | |
| "raw_file", | |
| "raw_sha256" | |
| ], | |
| "additionalProperties": false | |
| } | |
| }, | |
| "author": { | |
| "type": "string" | |
| }, | |
| "author_url": { | |
| "type": [ | |
| "string", | |
| "null" | |
| ] | |
| }, | |
| "author_user_type": { | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "answer_id", | |
| "question_id", | |
| "answer_text", | |
| "answer_html", | |
| "created_at", | |
| "updated_at", | |
| "score", | |
| "is_accepted", | |
| "content_license", | |
| "answer_url", | |
| "provenance", | |
| "revision_attribution", | |
| "author", | |
| "author_url", | |
| "author_user_type" | |
| ], | |
| "additionalProperties": false | |
| } | |
| }, | |
| "scores": { | |
| "type": "array", | |
| "items": { | |
| "type": "integer" | |
| } | |
| }, | |
| "accepted_status": { | |
| "type": "array", | |
| "items": { | |
| "type": "boolean" | |
| } | |
| }, | |
| "ground_truth": { | |
| "const": "community signals only; no scientific truth label" | |
| } | |
| }, | |
| "required": [ | |
| "record_id", | |
| "product", | |
| "thread", | |
| "split", | |
| "question", | |
| "candidate_answers", | |
| "scores", | |
| "accepted_status", | |
| "ground_truth" | |
| ], | |
| "additionalProperties": false, | |
| "$schema": "https://json-schema.org/draft/2020-12/schema" | |
| } | |