|
877 | 877 | {"KEY": "content", "ISTYPE": dict}, |
878 | 878 | ], |
879 | 879 | ), |
| 880 | + # CSL language schemas. |
| 881 | + # |
| 882 | + # https://citeproc-js.readthedocs.io/en/latest/csl-json/markup.html# |
| 883 | + registry_class.RegistryEntry( |
| 884 | + identifier="jrid:0076", |
| 885 | + name=[{"@en": "Citation Style Language Citation (CSL-JSON) Schema"}], |
| 886 | + markers=[ |
| 887 | + {"KEY": "$schema", "STARTSWITH": "http://json-schema.org/"}, |
| 888 | + {"KEY": "$schema", "ENDSWITH": "/schema#"}, |
| 889 | + {"KEY": "$id", "STARTSWITH": "https://resource.citationstyles.org/schema/"}, |
| 890 | + {"KEY": "$id", "ENDSWITH": "/input/json/csl-citation.json"}, |
| 891 | + {"KEY": "type", "IS": "object"}, |
| 892 | + {"KEY": "properties", "ISTYPE": dict}, |
| 893 | + ], |
| 894 | + ), |
| 895 | + registry_class.RegistryEntry( |
| 896 | + identifier="jrid:0077", |
| 897 | + name=[{"@en": "Citation Style Language Input Data Schema"}], |
| 898 | + markers=[ |
| 899 | + {"KEY": "$schema", "STARTSWITH": "http://json-schema.org/"}, |
| 900 | + {"KEY": "$schema", "ENDSWITH": "/schema#"}, |
| 901 | + {"KEY": "$id", "STARTSWITH": "https://resource.citationstyles.org/schema/"}, |
| 902 | + {"KEY": "$id", "ENDSWITH": "/input/json/csl-data.json"}, |
| 903 | + {"KEY": "type", "IS": "array"}, |
| 904 | + {"KEY": "items", "ISTYPE": dict}, |
| 905 | + {"KEY": "definitions", "ISTYPE": dict}, |
| 906 | + ], |
| 907 | + ), |
880 | 908 | ] |
881 | 909 |
|
882 | 910 |
|
|
0 commit comments