From 1c29c017b9dd2a7a86051eb7c0416135bf078292 Mon Sep 17 00:00:00 2001 From: Ian Ward Date: Thu, 27 Jun 2024 19:03:01 -0400 Subject: [PATCH] document example schema --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index f4366b1..0d19c4b 100644 --- a/README.md +++ b/README.md @@ -30,6 +30,16 @@ scheming.presets = ckanext.scheming:presets.json ckanext.fluent:presets.json ``` +An [example schema](https://github.com/ckan/ckanext-fluent/blob/master/ckanext/fluent/fluent_scheming.yaml) +is may be used with the `scheming_datasets` plugin and this schema setting: + +```ini +scheming.dataset_schemas=ckanext.fluent:fluent_scheming.yaml +``` + +This example schema registers a new `fluent-test` dataset type. Visit +`/fluent-test/new` on your ckan site to create a new dataset with this schema. + ## `fluent_text` fields A fluent multilingual text field in a scheming schema: