{"$defs":{"AliasInput":{"additionalProperties":false,"properties":{"alias":{"type":"string"},"id":{"type":"string"},"provenance_id":{"type":"string"}},"required":["id","alias","provenance_id"],"type":"object"},"AttemptInput":{"additionalProperties":false,"properties":{"attempt_no":{"format":"int32","type":"integer"},"id":{"type":"string"},"lift":{"$ref":"#/$defs/LiftKind"},"outcome":{"$ref":"#/$defs/AttemptOutcome"},"provenance_id":{"type":"string"},"raw_label":{"type":["string","null"]},"weight_kg":{"format":"double","type":["number","null"]}},"required":["id","lift","attempt_no","outcome","provenance_id"],"type":"object"},"AttemptOutcome":{"enum":["good","failed","passed","not_taken","unknown"],"type":"string"},"BodyweightStatus":{"enum":["recorded","hidden","unknown"],"type":"string"},"CategoryInput":{"additionalProperties":false,"properties":{"age_group":{"type":["string","null"]},"id":{"type":"string"},"name":{"type":"string"},"provenance_id":{"type":"string"},"sex":{"type":["string","null"]},"slug":{"type":"string"},"weight_class_kg":{"format":"double","type":["number","null"]}},"required":["id","slug","name","provenance_id"],"type":"object"},"ClubInput":{"additionalProperties":false,"properties":{"id":{"type":"string"},"name":{"type":"string"},"provenance_id":{"type":"string"},"slug":{"type":"string"}},"required":["id","slug","name","provenance_id"],"type":"object"},"CompetitionInput":{"additionalProperties":false,"properties":{"alternate_name":{"type":["string","null"]},"coverage":{"$ref":"#/$defs/Completeness"},"event_date":{"format":"date","type":["string","null"]},"id":{"type":"string"},"name":{"type":"string"},"notes":{"type":["string","null"]},"provenance_id":{"type":"string"},"ranking_basis":{"type":["string","null"]},"slug":{"type":"string"},"state":{"$ref":"#/$defs/CompetitionState","default":"completed"}},"required":["id","slug","name","coverage","provenance_id"],"type":"object"},"CompetitionState":{"enum":["upcoming","live","completed"],"type":"string"},"Completeness":{"enum":["complete","partial","winner_only"],"type":"string"},"Confidence":{"enum":["confirmed","probable","uncertain"],"type":"string"},"EntryInput":{"additionalProperties":false,"properties":{"bodyweight_kg":{"format":"double","type":["number","null"]},"bodyweight_status":{"$ref":"#/$defs/BodyweightStatus"},"category_id":{"type":["string","null"]},"club_id":{"type":["string","null"]},"id":{"type":"string"},"overall_score":{"format":"double","type":["number","null"]},"person_id":{"type":["string","null"]},"place":{"format":"int32","type":["integer","null"]},"place_display":{"type":["string","null"]},"powerlifting":{"anyOf":[{"$ref":"#/$defs/PowerliftingEntryInput"},{"type":"null"}]},"provenance_id":{"type":"string"},"score_label":{"type":["string","null"]},"team_id":{"type":["string","null"]}},"required":["id","bodyweight_status","provenance_id"],"type":"object"},"LiftKind":{"enum":["squat","bench","deadlift"],"type":"string"},"PersonInput":{"additionalProperties":false,"properties":{"aliases":{"default":[],"items":{"$ref":"#/$defs/AliasInput"},"type":"array"},"country":{"type":["string","null"]},"display_name":{"type":"string"},"id":{"type":"string"},"provenance_id":{"type":"string"},"sex":{"type":["string","null"]},"slug":{"type":"string"}},"required":["id","slug","display_name","provenance_id"],"type":"object"},"PowerliftingEntryInput":{"additionalProperties":false,"properties":{"age_factor":{"format":"double","type":["number","null"]},"attempts":{"items":{"$ref":"#/$defs/AttemptInput"},"type":"array"},"equipment":{"type":["string","null"]},"event_type":{"type":"string"},"provenance_id":{"type":"string"},"score_name":{"type":["string","null"]},"score_value":{"format":"double","type":["number","null"]},"total_kg":{"format":"double","type":["number","null"]}},"required":["event_type","provenance_id","attempts"],"type":"object"},"ProvenanceInput":{"additionalProperties":false,"properties":{"as_of_date":{"format":"date","type":"string"},"completeness":{"$ref":"#/$defs/Completeness"},"confidence":{"$ref":"#/$defs/Confidence"},"id":{"type":"string"},"notes":{"type":["string","null"]},"sources":{"items":{"$ref":"#/$defs/ProvenanceSourceInput"},"type":"array"}},"required":["id","as_of_date","confidence","completeness","sources"],"type":"object"},"ProvenanceSourceInput":{"additionalProperties":false,"properties":{"locator":{"type":["string","null"]},"primary":{"default":false,"type":"boolean"},"source_id":{"type":"string"}},"required":["source_id"],"type":"object"},"SeasonInput":{"additionalProperties":false,"properties":{"end_date":{"format":"date","type":["string","null"]},"id":{"type":"string"},"label":{"type":"string"},"provenance_id":{"type":"string"},"start_date":{"format":"date","type":["string","null"]}},"required":["id","label","provenance_id"],"type":"object"},"SeriesInput":{"additionalProperties":false,"properties":{"id":{"type":"string"},"name":{"type":"string"},"provenance_id":{"type":"string"},"slug":{"type":"string"}},"required":["id","slug","name","provenance_id"],"type":"object"},"SourceInput":{"additionalProperties":false,"properties":{"id":{"type":"string"},"kind":{"type":"string"},"notes":{"type":["string","null"]},"public_url":{"type":["string","null"]},"published_date":{"format":"date","type":["string","null"]},"retrieved_date":{"format":"date","type":["string","null"]},"sha256":{"type":["string","null"]},"title":{"type":"string"}},"required":["id","title","kind"],"type":"object"},"SportInput":{"additionalProperties":false,"properties":{"id":{"type":"string"},"name":{"type":"string"},"provenance_id":{"type":"string"},"slug":{"type":"string"}},"required":["id","slug","name","provenance_id"],"type":"object"},"StrongmanDisciplineInput":{"additionalProperties":false,"properties":{"id":{"type":"string"},"max_time_seconds":{"format":"double","type":["number","null"]},"name":{"type":"string"},"provenance_id":{"type":"string"},"results":{"items":{"$ref":"#/$defs/StrongmanResultInput"},"type":"array"},"scoring_direction":{"type":"string"},"sequence":{"format":"int32","type":"integer"}},"required":["id","sequence","name","scoring_direction","provenance_id","results"],"type":"object"},"StrongmanInput":{"additionalProperties":false,"properties":{"disciplines":{"items":{"$ref":"#/$defs/StrongmanDisciplineInput"},"type":"array"}},"required":["disciplines"],"type":"object"},"StrongmanMeasurementInput":{"additionalProperties":false,"properties":{"id":{"type":"string"},"kind":{"type":"string"},"label":{"type":"string"},"provenance_id":{"type":"string"},"raw_value":{"type":["string","null"]},"sequence":{"format":"int32","type":"integer"},"unit":{"type":"string"},"value":{"format":"double","type":["number","null"]}},"required":["id","sequence","kind","label","unit","provenance_id"],"type":"object"},"StrongmanOutcome":{"enum":["did_not_start","completed","failed","withdrawn","disqualified","unknown"],"type":"string"},"StrongmanResultInput":{"additionalProperties":false,"properties":{"entry_id":{"type":"string"},"id":{"type":"string"},"measurements":{"default":[],"items":{"$ref":"#/$defs/StrongmanMeasurementInput"},"type":"array"},"outcome":{"$ref":"#/$defs/StrongmanOutcome"},"place":{"format":"int32","type":["integer","null"]},"points":{"format":"double","type":["number","null"]},"provenance_id":{"type":"string"},"summary":{"type":["string","null"]},"tie_break_note":{"type":["string","null"]}},"required":["id","entry_id","outcome","provenance_id"],"type":"object"},"TeamInput":{"additionalProperties":false,"properties":{"club_id":{"type":["string","null"]},"id":{"type":"string"},"name":{"type":"string"},"provenance_id":{"type":"string"},"slug":{"type":"string"}},"required":["id","slug","name","provenance_id"],"type":"object"},"VenueInput":{"additionalProperties":false,"properties":{"id":{"type":"string"},"locality":{"type":["string","null"]},"name":{"type":"string"},"provenance_id":{"type":"string"},"slug":{"type":"string"}},"required":["id","slug","name","provenance_id"],"type":"object"}},"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"categories":{"default":[],"items":{"$ref":"#/$defs/CategoryInput"},"type":"array"},"clubs":{"default":[],"items":{"$ref":"#/$defs/ClubInput"},"type":"array"},"competition":{"$ref":"#/$defs/CompetitionInput"},"dataset_id":{"type":"string"},"entries":{"default":[],"items":{"$ref":"#/$defs/EntryInput"},"type":"array"},"licence":{"type":"string"},"people":{"items":{"$ref":"#/$defs/PersonInput"},"type":"array"},"provenance":{"items":{"$ref":"#/$defs/ProvenanceInput"},"type":"array"},"schema_version":{"format":"uint32","minimum":0,"type":"integer"},"season":{"$ref":"#/$defs/SeasonInput"},"series":{"$ref":"#/$defs/SeriesInput"},"sources":{"items":{"$ref":"#/$defs/SourceInput"},"type":"array"},"sport":{"$ref":"#/$defs/SportInput"},"strongman":{"anyOf":[{"$ref":"#/$defs/StrongmanInput"},{"type":"null"}]},"teams":{"default":[],"items":{"$ref":"#/$defs/TeamInput"},"type":"array"},"venue":{"anyOf":[{"$ref":"#/$defs/VenueInput"},{"type":"null"}]}},"required":["schema_version","dataset_id","licence","sources","provenance","sport","series","season","competition","people"],"title":"ArchiveImport","type":"object"}