fairspec-extension 0.2.0 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/models/dataset.ts CHANGED
@@ -3,18 +3,18 @@ import { z } from "zod";
3
3
 
4
4
  export const Table1Resource = z.object({
5
5
  name: z.literal("table1"),
6
- Table: z.literal("https://fairspec.github.io/schemas/0.2.0/table1.json")
6
+ Table: z.literal("https://fairspec.github.io/fairspec-extension/schemas/0.2.2/table1.json")
7
7
  });
8
8
 
9
9
  export const Table2Resource = z.object({
10
10
  name: z.literal("table2"),
11
- Table: z.literal("https://fairspec.github.io/schemas/0.2.0/table2.json")
11
+ Table: z.literal("https://fairspec.github.io/fairspec-extension/schemas/0.2.2/table2.json")
12
12
  });
13
13
 
14
14
  export const Resource = z.union([Table1Resource, Table2Resource]);
15
15
 
16
16
  export const Dataset = z.object({
17
- $schema: z.literal("https://fairspec.github.io/profiles/0.2.0/dataset.json"),
17
+ $schema: z.literal("https://fairspec.github.io/fairspec-extension/profiles/0.2.2/dataset.json"),
18
18
  resources: z.tuple([Resource]).rest(Resource)
19
19
  });
20
20
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "fairspec-extension",
3
3
  "type": "module",
4
- "version": "0.2.0",
4
+ "version": "0.2.2",
5
5
  "slug": "fairspec-extension",
6
6
  "title": "Fairspec Extension",
7
7
  "description": "Fairspec Extension is a Git repository template for rapid Fairspec extension development",