diff --git a/.github/workflows/pdk-dev.yaml b/.github/workflows/pdk-dev.yaml
index 8838e38..a4784ba 100644
--- a/.github/workflows/pdk-dev.yaml
+++ b/.github/workflows/pdk-dev.yaml
@@ -2,8 +2,8 @@ name: PDK-Dev
on:
push:
- branches:
- - Develop
+ branches-ignore:
+ - main
jobs:
build:
@@ -23,17 +23,17 @@ jobs:
- name: Login with docker to ECR
id: login-ecr
- run: aws ecr-public get-login-password --region us-east-1 | docker login --username AWS --password-stdin public.ecr.aws
+ run: aws ecr get-login-password --region eu-west-1 | docker login --username AWS --password-stdin 070318080841.dkr.ecr.eu-west-1.amazonaws.com
- name: Pull docker image
- run: docker pull public.ecr.aws/openpeppol/pdk:latest
+ run: docker pull 070318080841.dkr.ecr.eu-west-1.amazonaws.com/pdk:latest
- name: Prepare PDK
- run: docker run --rm -i -v $(pwd):/src public.ecr.aws/openpeppol/pdk:latest pdk -T
+ run: docker run --rm -i -v $(pwd):/src 070318080841.dkr.ecr.eu-west-1.amazonaws.com/pdk:latest pdk -T
- name: Run PDK
- run: docker run --rm -i -v $(pwd):/src public.ecr.aws/openpeppol/pdk:latest pdk
+ run: docker run --rm -i -v $(pwd):/src 070318080841.dkr.ecr.eu-west-1.amazonaws.com/pdk:latest pdk
- name: Publish to Test-Docs
env:
@@ -41,3 +41,4 @@ jobs:
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
run: |
aws s3 sync --acl public-read --region eu-west-1 target/site ${{ secrets.AWS_S3_PATH }}/reporting/${GITHUB_REF#refs/heads/}
+
\ No newline at end of file
diff --git a/.github/workflows/pdk.yaml b/.github/workflows/pdk.yaml
index 4068cef..e18933b 100644
--- a/.github/workflows/pdk.yaml
+++ b/.github/workflows/pdk.yaml
@@ -14,7 +14,7 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2
-
+
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@13d241b293754004c80624b5567555c4a39ffbe3
with:
@@ -24,16 +24,17 @@ jobs:
- name: Login with docker to ECR
id: login-ecr
- run: aws ecr-public get-login-password --region us-east-1 | docker login --username AWS --password-stdin public.ecr.aws
+ run: aws ecr get-login-password --region eu-west-1 | docker login --username AWS --password-stdin 070318080841.dkr.ecr.eu-west-1.amazonaws.com
+
- name: Pull docker image
- run: docker pull public.ecr.aws/openpeppol/pdk:latest
+ run: docker pull 070318080841.dkr.ecr.eu-west-1.amazonaws.com/pdk:latest
- name: Prepare PDK
- run: docker run --rm -i -v $(pwd):/src public.ecr.aws/openpeppol/pdk:latest pdk -T
+ run: docker run --rm -i -v $(pwd):/src 070318080841.dkr.ecr.eu-west-1.amazonaws.com/pdk:latest pdk -T
- name: Run PDK
- run: docker run --rm -i -v $(pwd):/src public.ecr.aws/openpeppol/pdk:latest pdk
+ run: docker run --rm -i -v $(pwd):/src 070318080841.dkr.ecr.eu-west-1.amazonaws.com/pdk:latest pdk
- name: Publish to Test-Docs
env:
diff --git a/.vscode/json-schema/codelist-subset.json b/.vscode/json-schema/codelist-subset.json
deleted file mode 100644
index b659d55..0000000
--- a/.vscode/json-schema/codelist-subset.json
+++ /dev/null
@@ -1,53 +0,0 @@
-{
- "$schema": "http://json-schema.org/draft-07/schema",
- "$ref": "#/definitions/document",
- "definitions": {
- "document": {
- "type": "object",
- "additionalProperties": false,
- "required": [
- "abstract",
- "codes"
- ],
- "properties": {
- "name": {
- "$ref": "#/definitions/string_translatable"
- },
- "description": {
- "$ref": "#/definitions/string_translatable"
- },
- "abstract": {
- "type": "string"
- },
- "codes": {
- "type": "array",
- "items": {
- "oneOf": [
- {
- "type": "string"
- },
- {
- "type": "number"
- }
- ]
- }
- }
- }
- },
- "string_translatable": {
- "oneOf": [
- {
- "type": "string"
- },
- {
- "type": "object",
- "patternProperties": {
- "^.+$": {
- "type": "string"
- }
- }
- }
- ]
- }
- }
-}
\ No newline at end of file
diff --git a/.vscode/json-schema/codelist.json b/.vscode/json-schema/codelist.json
deleted file mode 100644
index a9a6fcb..0000000
--- a/.vscode/json-schema/codelist.json
+++ /dev/null
@@ -1,129 +0,0 @@
-{
- "$schema": "http://json-schema.org/draft-07/schema",
- "$ref": "#/definitions/document",
- "definitions": {
- "document": {
- "type": "object",
- "additionalProperties": false,
- "required": [
- "metadata",
- "content"
- ],
- "properties": {
- "metadata": {
- "$ref": "#/definitions/metadata"
- },
- "content": {
- "$ref": "#/definitions/content"
- }
- }
- },
- "metadata": {
- "type": "object",
- "additionalProperties": false,
- "required": [
- "title",
- "identifier",
- "version",
- "language"
- ],
- "properties": {
- "title": {
- "$ref": "#/definitions/string_translatable"
- },
- "description": {
- "$ref": "#/definitions/string_translatable"
- },
- "identifier": {
- "$ref": "#/definitions/identifier"
- },
- "version": {
- "$ref": "#/definitions/version"
- },
- "language": {
- "type": "string"
- },
- "agency": {
- "type": "string"
- },
- "subset": {
- "$ref": "#/definitions/subset"
- },
- "translations": {
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- }
- },
- "subset": {
- "type": "object"
- },
- "content": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/code"
- }
- },
- "code": {
- "type": "object",
- "required": [
- "id",
- "name"
- ],
- "properties": {
- "id": {
- "$ref": "#/definitions/identifier"
- },
- "name": {
- "$ref": "#/definitions/string_translatable"
- },
- "description": {
- "$ref": "#/definitions/string_translatable"
- }
- }
- },
- "version": {
- "type": "object",
- "properties": {
- "identifier": {
- "$ref": "#/definitions/identifier"
- },
- "status": {
- "type": "string",
- "enum": [
- "draft",
- "review",
- "published"
- ]
- }
- }
- },
- "identifier": {
- "oneOf": [
- {
- "type": "number"
- },
- {
- "type": "string"
- }
- ]
- },
- "string_translatable": {
- "oneOf": [
- {
- "type": "string"
- },
- {
- "type": "object",
- "patternProperties": {
- "^.+$": {
- "type": "string"
- }
- }
- }
- ]
- }
- }
-}
\ No newline at end of file
diff --git a/.vscode/json-schema/imports.json b/.vscode/json-schema/imports.json
deleted file mode 100644
index e0d2672..0000000
--- a/.vscode/json-schema/imports.json
+++ /dev/null
@@ -1,23 +0,0 @@
-{
- "$schema": "http://json-schema.org/draft-07/schema",
- "additionalProperties": false,
- "type": "array",
- "items": {
- "type": "object",
- "required": [
- "path"
- ],
- "additionalProperties": false,
- "properties": {
- "path": {
- "type": "string"
- },
- "as": {
- "type": "string"
- },
- "from": {
- "type": "string"
- }
- }
- }
-}
\ No newline at end of file
diff --git a/.vscode/json-schema/library.json b/.vscode/json-schema/library.json
deleted file mode 100644
index 7362402..0000000
--- a/.vscode/json-schema/library.json
+++ /dev/null
@@ -1,51 +0,0 @@
-{
- "$schema": "http://json-schema.org/draft-07/schema",
- "$ref": "#/definitions/document",
- "definitions": {
- "document": {
- "title": "Library configuration",
- "patternProperties": {
- "^.+$": {
- "$ref": "#/definitions/definition"
- }
- }
- },
- "definition": {
- "title": "Library definition",
- "type": "object",
- "additionalProperties": false,
- "required": [
- "url"
- ],
- "properties": {
- "url": {
- "title": "URL used to download library",
- "type": "string"
- },
- "path": {
- "title": "Path inside library to be extracted",
- "type": "string"
- },
- "properties": {
- "$ref": "#/definitions/properties"
- }
- }
- },
- "properties": {
- "title": "Properties used in url or path",
- "type": "object",
- "patternProperties": {
- "^.+$": {
- "oneOf": [
- {
- "type": "string"
- },
- {
- "type": "number"
- }
- ]
- }
- }
- }
- }
-}
\ No newline at end of file
diff --git a/.vscode/json-schema/process.json b/.vscode/json-schema/process.json
deleted file mode 100644
index a12a42d..0000000
--- a/.vscode/json-schema/process.json
+++ /dev/null
@@ -1,68 +0,0 @@
-{
- "$schema": "http://json-schema.org/draft-07/schema",
- "$ref": "#/definitions/document",
- "definitions": {
- "document": {
- "additionalProperties": false,
- "properties": {
- "hugo": {
- "type": "object",
- "title": "Hugo configuration"
- },
- "title": {
- "title": "Process title",
- "$ref": "#/definitions/string_translatable"
- },
- "description": {
- "title": "Process description",
- "$ref": "#/definitions/string_translatable"
- },
- "version": {
- "type": "string",
- "title": "Process version"
- },
- "docs": {
- "patternProperties": {
- "^.*$": {
- "type": "string"
- }
- }
- },
- "features": {
- "type": "object",
- "additionalProperties": false,
- "properties": {
- "asciidoctor-pdf": {
- "type": "boolean",
- "default": false
- }
- }
- },
- "status": {
- "type": "string",
- "enum": [
- "draft",
- "active",
- "legacy",
- "disabled"
- ]
- }
- }
- },
- "string_translatable": {
- "oneOf": [
- {
- "type": "string"
- },
- {
- "type": "object",
- "patternProperties": {
- "^.+$": {
- "type": "string"
- }
- }
- }
- ]
- }
- }
-}
\ No newline at end of file
diff --git a/.vscode/json-schema/project.json b/.vscode/json-schema/project.json
deleted file mode 100644
index 7fac7e7..0000000
--- a/.vscode/json-schema/project.json
+++ /dev/null
@@ -1,32 +0,0 @@
-{
- "$schema": "http://json-schema.org/draft-07/schema",
- "$ref": "#/definitions/document",
- "definitions": {
- "document": {
- "additionalProperties": false,
- "properties": {
- "hugo": {
- "title": "Hugo configuration",
- "type": "object"
- },
- "languages": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/language"
- }
- }
- }
- },
- "language": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "title": {
- "type": "string"
- }
- }
- }
- }
-}
\ No newline at end of file
diff --git a/.vscode/json-schema/schematron-meta.json b/.vscode/json-schema/schematron-meta.json
deleted file mode 100644
index 133a91d..0000000
--- a/.vscode/json-schema/schematron-meta.json
+++ /dev/null
@@ -1,90 +0,0 @@
-{
- "$schema": "http://json-schema.org/draft-07/schema",
- "$ref": "#/definitions/document",
- "definitions": {
- "document": {
- "type": "object",
- "additionalProperties": false,
- "properties": {
- "metadata": {
- "$ref": "#/definitions/metadata"
- },
- "changes": {
- "$ref": "#/definitions/changes"
- }
- }
- },
- "metadata": {
- "type": "object",
- "additionalProperties": false,
- "properties": {
- "title": {
- "$ref": "#/definitions/string_translatable"
- },
- "description": {
- "$ref": "#/definitions/string_translatable"
- }
- }
- },
- "changes": {
- "type": "object",
- "patternProperties": {
- "^[^ ]+$": {
- "$ref": "#/definitions/change"
- }
- }
- },
- "change": {
- "type": "object",
- "additionalProperties": false,
- "properties": {
- "reference": {
- "$ref": "#/definitions/references"
- }
- }
- },
- "references": {
- "type": "object",
- "additionalProperties": false,
- "properties": {
- "codelist": {
- "$ref": "#/definitions/reference"
- },
- "rule": {
- "$ref": "#/definitions/reference"
- },
- "syntax": {
- "$ref": "#/definitions/reference"
- }
- }
- },
- "reference": {
- "oneOf": [
- {
- "type": "string"
- },
- {
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- ]
- },
- "string_translatable": {
- "oneOf": [
- {
- "type": "string"
- },
- {
- "type": "object",
- "patternProperties": {
- "^.{2,5}$": {
- "type": "string"
- }
- }
- }
- ]
- }
- }
-}
\ No newline at end of file
diff --git a/.vscode/json-schema/semantic-model-content.json b/.vscode/json-schema/semantic-model-content.json
deleted file mode 100644
index 28c639a..0000000
--- a/.vscode/json-schema/semantic-model-content.json
+++ /dev/null
@@ -1,282 +0,0 @@
-{
- "$schema": "http://json-schema.org/draft-07/schema",
- "$ref": "#/definitions/document",
- "definitions": {
- "document": {
- "oneOf": [
- {
- "$ref": "#/definitions/item"
- },
- {
- "type": "array",
- "items": {
- "$ref": "#/definitions/item"
- }
- }
- ]
- },
- "item": {
- "oneOf": [
- {
- "$ref": "#/definitions/item_element"
- },
- {
- "$ref": "#/definitions/item_group"
- },
- {
- "$ref": "#/definitions/include"
- }
- ]
- },
- "item_element": {
- "type": "object",
- "additionalProperties": false,
- "required": [
- "id",
- "name",
- "cardinality",
- "value"
- ],
- "properties": {
- "id": {
- "$ref": "#/definitions/id"
- },
- "name": {
- "$ref": "#/definitions/string_translatable"
- },
- "definition": {
- "$ref": "#/definitions/string_translatable"
- },
- "value": {
- "$ref": "#/definitions/value"
- },
- "note": {
- "$ref": "#/definitions/string_translatable"
- },
- "section": {
- "type": "string"
- },
- "cardinality": {
- "$ref": "#/definitions/cardinality"
- },
- "requirement": {
- "$ref": "#/definitions/requirements"
- },
- "attribute": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/item_attribute"
- }
- }
- }
- },
- "item_attribute": {
- "type": "object",
- "additionalProperties": false,
- "required": [
- "id",
- "name",
- "cardinality",
- "value"
- ],
- "properties": {
- "id": {
- "$ref": "#/definitions/id"
- },
- "name": {
- "$ref": "#/definitions/string_translatable"
- },
- "definition": {
- "$ref": "#/definitions/string_translatable"
- },
- "value": {
- "$ref": "#/definitions/value"
- },
- "note": {
- "$ref": "#/definitions/string_translatable"
- },
- "section": {
- "type": "string"
- },
- "cardinality": {
- "$ref": "#/definitions/cardinality"
- },
- "requirement": {
- "$ref": "#/definitions/requirements"
- }
- }
- },
- "item_group": {
- "type": "object",
- "additionalProperties": false,
- "required": [
- "id",
- "name",
- "cardinality",
- "children"
- ],
- "properties": {
- "id": {
- "$ref": "#/definitions/id"
- },
- "name": {
- "$ref": "#/definitions/string_translatable"
- },
- "definition": {
- "$ref": "#/definitions/string_translatable"
- },
- "value": {
- "$ref": "#/definitions/value"
- },
- "note": {
- "$ref": "#/definitions/string_translatable"
- },
- "section": {
- "type": "string"
- },
- "cardinality": {
- "$ref": "#/definitions/cardinality"
- },
- "requirement": {
- "$ref": "#/definitions/requirements"
- },
- "children": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/item"
- }
- }
- }
- },
- "include": {
- "type": "object",
- "additionalProperties": false,
- "properties": {
- "include": {
- "type": "string"
- }
- }
- },
- "id": {
- "oneOf": [
- {
- "type": "string"
- },
- {
- "type": "number"
- }
- ]
- },
- "cardinality": {
- "anyOf": [
- {
- "type": "string",
- "pattern": "^[A-Z]+$"
- },
- {
- "type": "string",
- "enum": [
- "0..1",
- "1..1",
- "0..n",
- "1..n"
- ]
- },
- {
- "type": "string",
- "pattern": "^[\\d]+\\.\\.[\\dn]+$"
- }
- ]
- },
- "requirements": {
- "oneOf": [
- {
- "$ref": "#/definitions/requirement"
- },
- {
- "type": "array",
- "items": {
- "$ref": "#/definitions/requirement"
- }
- }
- ]
- },
- "requirement": {
- "type": "string"
- },
- "value": {
- "type": "object",
- "additionalProperties": false,
- "required": [
- "datatype"
- ],
- "properties": {
- "datatype": {
- "type": "string"
- },
- "default": {
- "$ref": "#/definitions/some_value"
- },
- "example": {
- "$ref": "#/definitions/some_value"
- },
- "fixed": {
- "$ref": "#/definitions/some_value"
- },
- "codelist": {
- "$ref": "#/definitions/some_value_array"
- },
- "max_length": {
- "type": "integer"
- },
- "min_length": {
- "type": "integer"
- },
- "pattern": {
- "type": "string"
- }
- }
- },
- "some_value_array": {
- "oneOf": [
- {
- "$ref": "#/definitions/some_value"
- },
- {
- "type": "array",
- "items": {
- "$ref": "#/definitions/some_value"
- }
- }
- ]
- },
- "some_value": {
- "oneOf": [
- {
- "type": "string"
- },
- {
- "type": "number"
- },
- {
- "type": "boolean"
- }
- ]
- },
- "string_translatable": {
- "oneOf": [
- {
- "type": "string"
- },
- {
- "type": "object",
- "patternProperties": {
- "^.+$": {
- "type": "string"
- }
- }
- }
- ]
- }
- }
-}
\ No newline at end of file
diff --git a/.vscode/json-schema/semantic-model-meta.json b/.vscode/json-schema/semantic-model-meta.json
deleted file mode 100644
index 5447284..0000000
--- a/.vscode/json-schema/semantic-model-meta.json
+++ /dev/null
@@ -1,237 +0,0 @@
-{
- "$schema": "http://json-schema.org/draft-07/schema",
- "$ref": "#/definitions/document",
- "definitions": {
- "content": {
- "oneOf": [
- {
- "$ref": "#/definitions/item"
- },
- {
- "type": "array",
- "items": {
- "$ref": "#/definitions/item"
- }
- }
- ]
- },
- "item": {
- "oneOf": [
- {
- "$ref": "#/definitions/item_element"
- },
- {
- "$ref": "#/definitions/include"
- }
- ]
- },
- "item_element": {
- "type": "object",
- "additionalProperties": false,
- "required": [
- "id"
- ],
- "properties": {
- "id": {
- "$ref": "#/definitions/id"
- },
- "name": {
- "$ref": "#/definitions/string_translatable"
- },
- "definition": {
- "$ref": "#/definitions/string_translatable"
- },
- "value": {
- "$ref": "#/definitions/value"
- },
- "note": {
- "$ref": "#/definitions/string_translatable"
- },
- "section": {
- "type": "string"
- },
- "cardinality": {
- "$ref": "#/definitions/cardinality"
- },
- "requirement": {
- "$ref": "#/definitions/requirements"
- },
- "attribute": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/item_attribute"
- }
- }
- }
- },
- "item_attribute": {
- "type": "object",
- "additionalProperties": false,
- "required": [
- "id"
- ],
- "properties": {
- "id": {
- "$ref": "#/definitions/id"
- },
- "name": {
- "$ref": "#/definitions/string_translatable"
- },
- "definition": {
- "$ref": "#/definitions/string_translatable"
- },
- "value": {
- "$ref": "#/definitions/value"
- },
- "note": {
- "$ref": "#/definitions/string_translatable"
- },
- "section": {
- "type": "string"
- },
- "cardinality": {
- "$ref": "#/definitions/cardinality"
- },
- "requirement": {
- "$ref": "#/definitions/requirements"
- }
- }
- },
- "include": {
- "type": "object",
- "additionalProperties": false,
- "properties": {
- "include": {
- "type": "string"
- }
- }
- },
- "id": {
- "oneOf": [
- {
- "type": "string"
- },
- {
- "type": "number"
- }
- ]
- },
- "cardinality": {
- "anyOf": [
- {
- "type": "string",
- "pattern": "^[A-Z]+$"
- },
- {
- "type": "string",
- "enum": [
- "0..1",
- "1..1",
- "0..n",
- "1..n"
- ]
- },
- {
- "type": "string",
- "pattern": "^[\\d]+\\.\\.[\\dn]+$"
- }
- ]
- },
- "requirements": {
- "oneOf": [
- {
- "$ref": "#/definitions/requirement"
- },
- {
- "type": "array",
- "items": {
- "$ref": "#/definitions/requirement"
- }
- }
- ]
- },
- "requirement": {
- "type": "string"
- },
- "value": {
- "type": "object",
- "additionalProperties": false,
- "properties": {
- "datatype": {
- "type": "string"
- },
- "default": {
- "$ref": "#/definitions/some_value"
- },
- "example": {
- "$ref": "#/definitions/some_value"
- },
- "fixed": {
- "$ref": "#/definitions/some_value"
- },
- "codelist": {
- "$ref": "#/definitions/some_value_array"
- },
- "max_length": {
- "type": "integer"
- },
- "min_length": {
- "type": "integer"
- },
- "pattern": {
- "type": "string"
- }
- }
- },
- "some_value_array": {
- "oneOf": [
- {
- "$ref": "#/definitions/some_value"
- },
- {
- "type": "array",
- "items": {
- "$ref": "#/definitions/some_value"
- }
- }
- ]
- },
- "some_value": {
- "oneOf": [
- {
- "type": "string"
- },
- {
- "type": "number"
- },
- {
- "type": "boolean"
- }
- ]
- },
- "string_translatable": {
- "oneOf": [
- {
- "type": "string"
- },
- {
- "type": "object",
- "patternProperties": {
- "^.+$": {
- "type": "string"
- }
- }
- }
- ]
- },
- "document": {
- "type": "object",
- "additionalProperties": false,
- "properties": {
- "overrides": {
- "$ref": "#/definitions/content"
- }
- }
- }
- }
-}
\ No newline at end of file
diff --git a/.vscode/json-schema/semantic-model.json b/.vscode/json-schema/semantic-model.json
deleted file mode 100644
index 075ed19..0000000
--- a/.vscode/json-schema/semantic-model.json
+++ /dev/null
@@ -1,38 +0,0 @@
-{
- "$schema": "http://json-schema.org/draft-07/schema",
- "$ref": "#/definitions/document",
- "definitions": {
- "document": {
- "type": "object",
- "additionalProperties": false,
- "properties": {
- "metadata": {
- "$ref": "#/definitions/metadata"
- },
- "content": {
- "$ref": "semantic-model-content.json"
- }
- }
- },
- "metadata": {
- "type": "object",
- "additionalProperties": false,
- "properties": {}
- },
- "string_translatable": {
- "oneOf": [
- {
- "type": "string"
- },
- {
- "type": "object",
- "patternProperties": {
- "^.+$": {
- "type": "string"
- }
- }
- }
- ]
- }
- }
-}
\ No newline at end of file
diff --git a/.vscode/json-schema/semantic-rules.json b/.vscode/json-schema/semantic-rules.json
deleted file mode 100644
index 5f76573..0000000
--- a/.vscode/json-schema/semantic-rules.json
+++ /dev/null
@@ -1,108 +0,0 @@
-{
- "$schema": "http://json-schema.org/draft-07/schema",
- "$ref": "#/definitions/document",
- "definitions": {
- "document": {
- "type": "object",
- "additionalProperties": false,
- "required": [
- "title"
- ],
- "properties": {
- "prefix": {
- "type": "string"
- },
- "title": {
- "$ref": "#/definitions/string_translatable"
- },
- "description": {
- "$ref": "#/definitions/string_translatable"
- },
- "scope": {
- "$ref": "#/definitions/rules"
- },
- "outside": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/string_translatable"
- }
- }
- }
- },
- "rules": {
- "type": "array",
- "items": {
- "anyOf": [
- {
- "$ref": "#/definitions/string_translatable"
- },
- {
- "$ref": "#/definitions/rule"
- }
- ]
- }
- },
- "rule": {
- "type": "object",
- "additionalProperties": false,
- "required": [
- "description"
- ],
- "properties": {
- "id": {
- "oneOf": [
- {
- "type": "number"
- },
- {
- "type": "string"
- }
- ]
- },
- "description": {
- "$ref": "#/definitions/string_translatable"
- },
- "context": {
- "$ref": "#/definitions/string_translatable"
- },
- "term": {
- "$ref": "#/definitions/references"
- },
- "requirement": {
- "$ref": "#/definitions/references"
- }
- }
- },
- "references": {
- "oneOf": [
- {
- "$ref": "#/definitions/reference"
- },
- {
- "type": "array",
- "items": {
- "$ref": "#/definitions/reference"
- }
- }
- ]
- },
- "reference": {
- "type": "string"
- },
- "string_translatable": {
- "oneOf": [
- {
- "type": "string"
- },
- {
- "type": "object",
- "patternProperties": {
- "^.{2,5}$": {
- "type": "string"
- }
- }
- }
- ]
- }
- }
-}
\ No newline at end of file
diff --git a/.vscode/json-schema/syntax-binding-content.json b/.vscode/json-schema/syntax-binding-content.json
deleted file mode 100644
index 6a337ed..0000000
--- a/.vscode/json-schema/syntax-binding-content.json
+++ /dev/null
@@ -1,268 +0,0 @@
-{
- "$schema": "http://json-schema.org/draft-07/schema",
- "$ref": "#/definitions/element",
- "definitions": {
- "attribute": {
- "type": "object",
- "additionalProperties": false,
- "properties": {
- "id": {
- "oneOf": [
- {
- "type": "string"
- },
- {
- "type": "number"
- }
- ]
- },
- "element": {
- "type": "string",
- "pattern": "^\\w+$"
- },
- "name": {
- "$ref": "#/definitions/string_translatable"
- },
- "definition": {
- "$ref": "#/definitions/string_translatable"
- },
- "reference": {
- "$ref": "#/definitions/some_value_array"
- },
- "rule": {
- "$ref": "#/definitions/some_value_array"
- },
- "value": {
- "$ref": "#/definitions/value"
- },
- "usage": {
- "type": "string"
- }
- }
- },
- "element": {
- "oneOf": [
- {
- "$ref": "#/definitions/element_children"
- },
- {
- "$ref": "#/definitions/element_value"
- },
- {
- "$ref": "#/definitions/include"
- }
- ]
- },
- "element_children": {
- "type": "object",
- "additionalProperties": false,
- "required": [
- "element",
- "children"
- ],
- "properties": {
- "id": {
- "oneOf": [
- {
- "type": "string"
- },
- {
- "type": "number"
- }
- ]
- },
- "section": {
- "type": "string"
- },
- "cardinality": {
- "$ref": "#/definitions/cardinality"
- },
- "element": {
- "type": "string",
- "pattern": "^\\w+:\\w+$"
- },
- "selector": {
- "type": "string"
- },
- "name": {
- "$ref": "#/definitions/string_translatable"
- },
- "definition": {
- "$ref": "#/definitions/string_translatable"
- },
- "reference": {
- "$ref": "#/definitions/some_value_array"
- },
- "rule": {
- "$ref": "#/definitions/some_value_array"
- },
- "attribute": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/attribute"
- }
- },
- "children": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/element"
- }
- }
- }
- },
- "element_value": {
- "type": "object",
- "additionalProperties": false,
- "required": [
- "element"
- ],
- "properties": {
- "id": {
- "oneOf": [
- {
- "type": "string"
- },
- {
- "type": "number"
- }
- ]
- },
- "section": {
- "type": "string"
- },
- "cardinality": {
- "$ref": "#/definitions/cardinality"
- },
- "element": {
- "type": "string",
- "pattern": "^\\w+:\\w+$"
- },
- "selector": {
- "type": "string"
- },
- "name": {
- "$ref": "#/definitions/string_translatable"
- },
- "definition": {
- "$ref": "#/definitions/string_translatable"
- },
- "value": {
- "$ref": "#/definitions/value"
- },
- "reference": {
- "$ref": "#/definitions/some_value_array"
- },
- "rule": {
- "$ref": "#/definitions/some_value_array"
- },
- "attribute": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/attribute"
- }
- }
- }
- },
- "include": {
- "type": "object",
- "additionalProperties": false,
- "properties": {
- "include": {
- "type": "string"
- },"attribute": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/attribute"
- }
- }
- }
- },
- "cardinality": {
- "anyOf": [
- {
- "enum": [
- "0..1",
- "1..1",
- "0..n",
- "1..n"
- ]
- },
- {
- "type": "string",
- "pattern": "^[\\d]+\\.\\.[\\dn]+$"
- }
- ]
- },
- "value": {
- "type": "object",
- "additionalProperties": false,
- "properties": {
- "datatype": {
- "type": "string"
- },
- "default": {
- "$ref": "#/definitions/some_value"
- },
- "example": {
- "$ref": "#/definitions/some_value"
- },
- "fixed": {
- "$ref": "#/definitions/some_value"
- },
- "codelist": {
- "$ref": "#/definitions/some_value_array"
- },
- "max_length": {
- "type": "integer"
- },
- "min_length": {
- "type": "integer"
- },
- "pattern": {
- "type": "string"
- }
- }
- },
- "some_value_array": {
- "oneOf": [
- {
- "$ref": "#/definitions/some_value"
- },
- {
- "type": "array",
- "items": {
- "$ref": "#/definitions/some_value"
- }
- }
- ]
- },
- "some_value": {
- "oneOf": [
- {
- "type": "string"
- },
- {
- "type": "number"
- },
- {
- "type": "boolean"
- }
- ]
- },
- "string_translatable": {
- "oneOf": [
- {
- "type": "string"
- },
- {
- "type": "object",
- "patternProperties": {
- "^.+$": {
- "type": "string"
- }
- }
- }
- ]
- }
- }
-}
\ No newline at end of file
diff --git a/.vscode/json-schema/syntax-binding-meta.json b/.vscode/json-schema/syntax-binding-meta.json
deleted file mode 100644
index b4befbf..0000000
--- a/.vscode/json-schema/syntax-binding-meta.json
+++ /dev/null
@@ -1,214 +0,0 @@
-{
- "$schema": "http://json-schema.org/draft-07/schema",
- "$ref": "#/definitions/document",
- "definitions": {
- "document": {
- "type": "object",
- "additionalProperties": false,
- "properties": {
- "overrides": {
- "$ref": "#/definitions/content"
- }
- }
- }, "attribute": {
- "type": "object",
- "additionalProperties": false,
- "properties": {
- "id": {
- "oneOf": [
- {
- "type": "string"
- },
- {
- "type": "number"
- }
- ]
- },
- "element": {
- "type": "string",
- "pattern": "^\\w+$"
- },
- "name": {
- "$ref": "#/definitions/string_translatable"
- },
- "definition": {
- "$ref": "#/definitions/string_translatable"
- },
- "reference": {
- "$ref": "#/definitions/some_value_array"
- },
- "rule": {
- "$ref": "#/definitions/some_value_array"
- },
- "value": {
- "$ref": "#/definitions/value"
- },
- "usage": {
- "type": "string"
- }
- }
- },
- "content": {
- "oneOf": [
- {
- "$ref": "#/definitions/item"
- },
- {
- "type": "array",
- "items": {
- "$ref": "#/definitions/item"
- }
- }
- ]
- },
- "item": {
- "$ref": "#/definitions/element_value"
- },
- "element_value": {
- "type": "object",
- "additionalProperties": false,
- "properties": {
- "id": {
- "oneOf": [
- {
- "type": "string"
- },
- {
- "type": "number"
- }
- ]
- },
- "section": {
- "type": "string"
- },
- "cardinality": {
- "$ref": "#/definitions/cardinality"
- },
- "element": {
- "type": "string",
- "pattern": "^\\w+:\\w+$"
- },
- "selector": {
- "type": "string"
- },
- "name": {
- "$ref": "#/definitions/string_translatable"
- },
- "definition": {
- "$ref": "#/definitions/string_translatable"
- },
- "value": {
- "$ref": "#/definitions/value"
- },
- "reference": {
- "$ref": "#/definitions/some_value_array"
- },
- "rule": {
- "$ref": "#/definitions/some_value_array"
- },
- "attribute": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/attribute"
- }
- }
- }
- },
- "include": {
- "type": "object",
- "additionalProperties": false,
- "properties": {
- "include": {
- "type": "string"
- }
- }
- },
- "cardinality": {
- "anyOf": [
- {
- "enum": [
- "0..1",
- "1..1",
- "0..n",
- "1..n"
- ]
- },
- {
- "type": "string",
- "pattern": "^[\\d]+\\.\\.[\\dn]+$"
- }
- ]
- },
- "value": {
- "type": "object",
- "additionalProperties": false,
- "properties": {
- "datatype": {
- "type": "string"
- },
- "default": {
- "$ref": "#/definitions/some_value"
- },
- "example": {
- "$ref": "#/definitions/some_value"
- },
- "fixed": {
- "$ref": "#/definitions/some_value"
- },
- "codelist": {
- "$ref": "#/definitions/some_value_array"
- },
- "max_length": {
- "type": "integer"
- },
- "min_length": {
- "type": "integer"
- },
- "pattern": {
- "type": "string"
- }
- }
- },
- "some_value_array": {
- "oneOf": [
- {
- "$ref": "#/definitions/some_value"
- },
- {
- "type": "array",
- "items": {
- "$ref": "#/definitions/some_value"
- }
- }
- ]
- },
- "some_value": {
- "oneOf": [
- {
- "type": "string"
- },
- {
- "type": "number"
- },
- {
- "type": "boolean"
- }
- ]
- },
- "string_translatable": {
- "oneOf": [
- {
- "type": "string"
- },
- {
- "type": "object",
- "patternProperties": {
- "^.+$": {
- "type": "string"
- }
- }
- }
- ]
- }
- }
-}
\ No newline at end of file
diff --git a/.vscode/json-schema/syntax-binding.json b/.vscode/json-schema/syntax-binding.json
deleted file mode 100644
index 152a743..0000000
--- a/.vscode/json-schema/syntax-binding.json
+++ /dev/null
@@ -1,50 +0,0 @@
-{
- "$schema": "http://json-schema.org/draft-07/schema",
- "$ref": "#/definitions/document",
- "definitions": {
- "document": {
- "type": "object",
- "additionalProperties": false,
- "properties": {
- "metadata": {
- "$ref": "#/definitions/metadata"
- },
- "content": {
- "$ref": "syntax-binding-content.json"
- }
- }
- },
- "metadata": {
- "type": "object",
- "additionalProperties": false,
- "properties": {
- "namespaces": {
- "$ref": "#/definitions/namespace"
- }
- }
- },
- "namespace": {
- "type": "object",
- "patternProperties": {
- "^[a-z0-9]+$": {
- "type": "string"
- }
- }
- },
- "string_translatable": {
- "oneOf": [
- {
- "type": "string"
- },
- {
- "type": "object",
- "patternProperties": {
- "^.+$": {
- "type": "string"
- }
- }
- }
- ]
- }
- }
-}
\ No newline at end of file
diff --git a/.vscode/json-schema/syntax-validation.json b/.vscode/json-schema/syntax-validation.json
deleted file mode 100644
index 073c249..0000000
--- a/.vscode/json-schema/syntax-validation.json
+++ /dev/null
@@ -1,207 +0,0 @@
-{
- "$schema": "http://json-schema.org/draft-07/schema",
- "$ref": "#/definitions/document",
- "definitions": {
- "document": {
- "type": "object",
- "additionalProperties": false,
- "properties": {
- "title": {
- "$ref": "#/definitions/string_translatable"
- },
- "description": {
- "$ref": "#/definitions/string_translatable"
- },
- "language": {
- "type": "string"
- },
- "namespace": {
- "$ref": "#/definitions/namespaces"
- },
- "let": {
- "$ref": "#/definitions/let"
- },
- "pattern": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/pattern"
- }
- }
- }
- },
- "pattern": {
- "oneOf": [
- {
- "type": "array",
- "items": {
- "$ref": "#/definitions/rule"
- }
- },
- {
- "type": "object",
- "additionalProperties": false,
- "properties": {
- "id": {
- "$ref": "#/definitions/id"
- },
- "let": {
- "$ref": "#/definitions/let"
- },
- "rule": {
- "type": "array",
- "additionalItems": {
- "$ref": "#/definitions/rule"
- }
- }
- }
- }
- ]
- },
- "rule": {
- "oneOf": [
- {
- "$ref": "#/definitions/rule_classic"
- },
- {
- "$ref": "#/definitions/rule_referenced"
- }
- ]
- },
- "rule_classic": {
- "type": "object",
- "additionalProperties": false,
- "required": [
- "context"
- ],
- "properties": {
- "context": {
- "type": "string"
- },
- "let": {
- "$ref": "#/definitions/let"
- },
- "assert": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/assert"
- }
- }
- }
- },
- "rule_referenced": {
- "type": "object",
- "additionalProperties": false,
- "required": [
- "context_ref"
- ],
- "properties": {
- "context_ref": {
- "type": "string"
- },
- "let": {
- "$ref": "#/definitions/let"
- },
- "assert": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/assert"
- }
- }
- }
- },
- "assert": {
- "type": "object",
- "additionalProperties": false,
- "required": [
- "test",
- "message"
- ],
- "properties": {
- "id": {
- "$ref": "#/definitions/id"
- },
- "flag": {
- "type": "string"
- },
- "test": {
- "type": "string"
- },
- "message": {
- "$ref": "#/definitions/string_translatable"
- },
- "reference": {
- "$ref": "#/definitions/references"
- }
- }
- },
- "id": {
- "oneOf": [
- {
- "type": "string"
- },
- {
- "type": "number"
- }
- ]
- },
- "let": {
- "type": "object",
- "patternProperties": {
- "^.+$": {
- "type": "string"
- }
- }
- },
- "namespaces": {
- "type": "object",
- "patternProperties": {
- "^.+$": {
- "type": "string"
- }
- }
- },
- "references": {
- "type": "object",
- "additionalProperties": false,
- "properties": {
- "codelist": {
- "$ref": "#/definitions/reference"
- },
- "rule": {
- "$ref": "#/definitions/reference"
- },
- "syntax": {
- "$ref": "#/definitions/reference"
- }
- }
- },
- "reference": {
- "oneOf": [
- {
- "type": "string"
- },
- {
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- ]
- },
- "string_translatable": {
- "oneOf": [
- {
- "type": "string"
- },
- {
- "type": "object",
- "patternProperties": {
- "^.{2,5}$": {
- "type": "string"
- }
- }
- }
- ]
- }
- }
-}
\ No newline at end of file
diff --git a/.vscode/json-schema/transaction.json b/.vscode/json-schema/transaction.json
deleted file mode 100644
index f868ed6..0000000
--- a/.vscode/json-schema/transaction.json
+++ /dev/null
@@ -1,73 +0,0 @@
-{
- "$schema": "http://json-schema.org/draft-07/schema",
- "definitions": {
- "document": {
- "type": "object",
- "additionalProperties": false,
- "properties": {
- "hugo": {
- "type": "object",
- "title": "Hugo configuration"
- },
- "title": {
- "title": "Transaction title",
- "$ref": "#/definitions/string_translatable"
- },
- "description": {
- "title": "Transaction description",
- "$ref": "#/definitions/string_translatable"
- },
- "docs": {
- "patternProperties": {
- "^.*$": {
- "type": "string"
- }
- }
- },
- "validation": {
- "$ref": "#/definitions/validation"
- },
- "features": {
- "type": "object",
- "additionalProperties": false,
- "properties": {
- "basic-rules": {
- "type": "boolean",
- "default": "true"
- }
- }
- }
- }
- },
- "validation": {
- "type": "object",
- "additionalProperties": false,
- "properties": {
- "schematron": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "xsd": {
- "type": "string"
- }
- }
- },
- "string_translatable": {
- "oneOf": [
- {
- "type": "string"
- },
- {
- "type": "object",
- "patternProperties": {
- "^.+$": {
- "type": "string"
- }
- }
- }
- ]
- }
- }
-}
\ No newline at end of file
diff --git a/.vscode/settings.json b/.vscode/settings.json
deleted file mode 100644
index e145a7e..0000000
--- a/.vscode/settings.json
+++ /dev/null
@@ -1,63 +0,0 @@
-{
- "yaml.schemas": {
- "file:///c%3A/Users/jerou/.vscode/extensions/atlassian.atlascode-2.10.7/resources/schemas/pipelines-schema.json": "bitbucket-pipelines.yml",
- ".vscode/json-schema/imports.json": ".imports.yaml",
- ".vscode/json-schema/process.json": "process.yaml",
- ".vscode/json-schema/project.json": "project.yaml",
- ".vscode/json-schema/library.json": "library.yaml",
- ".vscode/json-schema/transaction.json": "transaction.yaml",
- ".vscode/json-schema/codelist.json": [
- "codelist/*.yaml",
- "codelist/abstract/*.yaml",
- "!.imports.yaml"
- ],
- ".vscode/json-schema/codelist-subset.json": [
- "codelist/subset/*.yaml",
- "!.imports.yaml"
- ],
- ".vscode/json-schema/semantic-model.json": [
- "semantic-model/main.yaml",
- "semantic-model.yaml"
- ],
- ".vscode/json-schema/semantic-model-content.json": [
- "semantic-model/*.yaml",
- "semantic-model/**/*.yaml",
- "!semantic-model/main.yaml",
- "!.imports.yaml",
- "!*.meta.yaml"
- ],
- ".vscode/json-schema/semantic-model-meta.json": [
- "semantic-model/*.meta.yaml"
- ],
- ".vscode/json-schema/semantic-rules.json": [
- "semantic-rules/*.yaml",
- "!.imports.yaml"
- ],
- ".vscode/json-schema/syntax-binding.json": [
- "syntax-binding/main.yaml",
- "syntax-binding.yaml"
- ],
- ".vscode/json-schema/syntax-binding-content.json": [
- "syntax-binding/*.yaml",
- "syntax-binding/**/*.yaml",
- "!syntax-binding/main.yaml",
- "!.imports.yaml",
- "!*.meta.yaml"
- ],
- ".vscode/json-schema/syntax-binding-meta.json": [
- "syntax-binding/*.meta.yaml"
- ],
- ".vscode/json-schema/syntax-validation.json": [
- "schematron/*.yaml",
- "!*.meta.yaml",
- "!.imports.yaml",
- "!*.meta.yaml"
- ],
- ".vscode/json-schema/schematron-meta.json": [
- "schematron/*.meta.yaml"
- ],
- "file:///c%3A/Users/jerou/develop/OpenPEPPOL/reporting/.vscode/json-schema/syntax-binding-content.json": "file:///c%3A/Users/jerou/develop/OpenPEPPOL/reporting/src/reporting/trn-transaction_statistics/syntax-binding/main-old.yaml"
- },
- // Until https://github.com/redhat-developer/vscode-yaml/issues/397 is fixed.
- "yaml.schemaStore.enable": false,
-}
\ No newline at end of file
diff --git a/README.md b/README.md
index ca99f41..41f9ba5 100644
Binary files a/README.md and b/README.md differ
diff --git a/src/eusr/docs/bis/doc-section/1intro/audience.adoc b/src/eusr/docs/bis/doc-section/1intro/audience.adoc
index 9e692d6..c92a58e 100644
--- a/src/eusr/docs/bis/doc-section/1intro/audience.adoc
+++ b/src/eusr/docs/bis/doc-section/1intro/audience.adoc
@@ -1,7 +1,7 @@
= Audience
-* Peppol Coordinating Authority (PCA)
-** How the PCA will receive the reports.
+* OpenPeppol
+** How OpenPeppol will receive the reports.
* Service Provider (SP)
-** How SPs are to submit their End User Statistics Reports to the PCA.
+** How SPs are to submit their End User Statistics Reports to OpenPeppol.
diff --git a/src/eusr/docs/bis/doc-section/1intro/changelog.adoc b/src/eusr/docs/bis/doc-section/1intro/changelog.adoc
new file mode 100644
index 0000000..199d76c
--- /dev/null
+++ b/src/eusr/docs/bis/doc-section/1intro/changelog.adoc
@@ -0,0 +1,22 @@
+= Changelog
+
+:sectnums!:
+
+== Version 1.1.1 (2023-12-11)
+
+* Updated the Schematron rules to v1.1.4
+* Fixed some editorial bugs
+* Added a statement, that empty subsets are not allowed
+* Updated the example in Appendix 1 and Appendix 2 to be fully consistent
+
+== Version 1.1.0 (2023-06-30)
+
+* Reworked from "End User Report" to "End User Statistics Report"
+* Updated XML Schema
+* Updated Schematron rules
+
+== Version 1.0.0 (2022-11-23)
+
+* Initial version
+
+:sectnums:
diff --git a/src/eusr/docs/bis/doc-section/1intro/index.adoc b/src/eusr/docs/bis/doc-section/1intro/index.adoc
index 4a78637..cbc12fb 100644
--- a/src/eusr/docs/bis/doc-section/1intro/index.adoc
+++ b/src/eusr/docs/bis/doc-section/1intro/index.adoc
@@ -1,14 +1,12 @@
= Introduction
-End User Statistics reporting of production data helps the Peppol Coordinating Authority (PCA) and Peppol Authorities (PAs)
- to monitor the operations of the Peppol Network and identify and manage risks and issues within the network.
+End User Statistics reporting of production data helps OpenPeppol as the Peppol Coordinating Authority (PCA) and
+ Peppol Authorities (PAs) to monitor the operations of the Peppol Network and identify and manage risks and issues within the network.
The reporting requirements towards Service Providers (SPs) are divided into two areas:
- reporting about End User data and reporting about Transaction Statistics.
+ reporting about End User Statistics and reporting about Transaction Statistics.
This document will explain and outline the procedures for the End User Statistics Reporting.
The policy on reporting is stated in https://openpeppol.atlassian.net/wiki/spaces/AF/pages/2891251733/Peppol+Interoperability+Framework+1+Juy+2022[Internal Regulations for Use of the Peppol Network].
-// #Note: The current spec is completely diverged from the IR. IR needs to be updated#.
-
:leveloffset: +1
include::structure.adoc[]
@@ -21,4 +19,6 @@ include::ref.adoc[]
include::namespaces.adoc[]
+include::changelog.adoc[]
+
:leveloffset: -1
diff --git a/src/eusr/docs/bis/doc-section/1intro/ref.adoc b/src/eusr/docs/bis/doc-section/1intro/ref.adoc
index 0879995..5d1cea1 100644
--- a/src/eusr/docs/bis/doc-section/1intro/ref.adoc
+++ b/src/eusr/docs/bis/doc-section/1intro/ref.adoc
@@ -1,3 +1,3 @@
= References
-* https://openpeppol.atlassian.net/wiki/spaces/AF/pages/2889252865/Internal+Regulations[Internal Regulations - Use of Peppol Network v1.0]
+* https://openpeppol.atlassian.net/wiki/spaces/AF/pages/2889252865/Internal+Regulations[Internal Regulations - Use of Peppol Network v2.0]
diff --git a/src/eusr/docs/bis/doc-section/1intro/scope.adoc b/src/eusr/docs/bis/doc-section/1intro/scope.adoc
index b3e2dbc..a121885 100644
--- a/src/eusr/docs/bis/doc-section/1intro/scope.adoc
+++ b/src/eusr/docs/bis/doc-section/1intro/scope.adoc
@@ -1,8 +1,8 @@
= Scope
-This document is concerned with clarifying the requirements for ensuring compliance to the
-Internal Regulations (IR) requirements and provides guidelines for the support and implementation of these requirements.
-This document will also provide a detailed sample implementation guideline for the End User Statistics Report transaction;
+This document is concerned with clarifying the requirements for ensuring compliance to the Internal Regulations (IR)
+ requirements and provides guidelines for the support and implementation of these requirements.
+This document will also provide a detailed implementation guideline for the End User Statistics Report transaction;
to do that, the document sets out the processes and procedure for End User Statistics Reporting process including:
. Parties and Roles,
diff --git a/src/eusr/docs/bis/doc-section/2busproc/parties.adoc b/src/eusr/docs/bis/doc-section/2busproc/parties.adoc
index 544f80a..77605bc 100644
--- a/src/eusr/docs/bis/doc-section/2busproc/parties.adoc
+++ b/src/eusr/docs/bis/doc-section/2busproc/parties.adoc
@@ -10,9 +10,9 @@ Each SP will:
* Collect relevant data, taking care of the accuracy and validity of this data.
* Report this data in accordance to this document in a standardized and structured dataset.
-* Ensure all data for a Reporting Period is reported within the Statistics Report Submitting Period following the end of the Reporting Period.
- Note: the Reporting Period is defined by the PCA in a separate document.
-* Transmit the Peppol End User Statistics Reporting document to the PCA in accordance with this specification.
+* Ensure all data for a Reporting Period is reported within the Statistics Report Submitting Period following the end of the Reporting Period. +
+ Note: the Reporting Period and the Statistics Report Submitting Period are defined by OpenPeppol in a separate document.
+* Transmit the Peppol End User Statistics Reporting document to OpenPeppol in accordance with this specification.
== OpenPeppol Operating Office (OO)
diff --git a/src/eusr/docs/bis/doc-section/2busproc/process.adoc b/src/eusr/docs/bis/doc-section/2busproc/process.adoc
index 6d8c2f3..36d2cc0 100644
--- a/src/eusr/docs/bis/doc-section/2busproc/process.adoc
+++ b/src/eusr/docs/bis/doc-section/2busproc/process.adoc
@@ -1,7 +1,6 @@
= End User Statistics Reporting Process
-The following diagrams provide an overview of the key steps when
-Service Providers are reporting End User Statistics:
+The following diagrams provide an overview of the key steps when SPs are reporting End User Statistics:
image::./images/eusr-process-simple.png[]
@@ -17,13 +16,13 @@ image::./images/eusr-process-view.png[]
** A Reporting Period ends at 23:59:59 UTC (inclusive) of the last day.
* Data
-** Only Service Providers operating a production Peppol Access Point MUST gather this data and transmit an End User Statistics Report.
+** Only SPs operating a production Peppol Access Point MUST gather this data and transmit an End User Statistics Report.
** Only Data for the production network MUST be gathered.
** The following data elements MUST be provided for each End User Statistics Report
-*** Number of End Users that have sent a Dataset
-*** Number of End Users that have received a Dataset
-*** Number of End Users that have sent or received a Dataset
-*** Peppol Dataset Type (Document Type ID) and Profile ID (Process ID)
+*** Number of distinct End Users that have sent a Dataset
+*** Number of distinct End Users that have received a Dataset
+*** Number of distinct End Users that have sent or received a Dataset
+*** Peppol Dataset Type (Document Type ID) and Process ID
*** End Users Country Code
** Only Dataset exchanges that resulted in a positive transport level
acknowledgment (like AS4 Receipts) MUST be included in the End User Statistics Report.
@@ -35,10 +34,10 @@ NOTE: If the same End User is represented with multiple Participant Identifiers,
== Data Preparation
-Before the End User Statistics Report data is transmitted to OpenPeppol it needs to be prepared for subsets.
-The preparation can be performed on any of the above-mentioned data elements defined by the Internal Regulations.
+Before the End User Statistics Report data is transmitted to OpenPeppol it needs to be prepared in subsets.
+The preparation can be performed on any of the above-mentioned data elements.
-IF there are end users who have sent / received transactions within the reporting period, then the following
+If there are end users who have sent / received transactions within the reporting period, then the following
subsets MUST be prepared to be compliant with this specification.
* Dataset Type ID (Document Type ID) and End Users Country
@@ -50,16 +49,17 @@ subsets MUST be prepared to be compliant with this specification.
* Frequency
** An End User Statistics Report MUST be transmitted once per Reporting Period.
-** An End User Statistics Report MUST be transmitted within the Statistics Report Submitting Period, which is defined external to this document, after the end of the previous Reporting Period.
+** An End User Statistics Report MUST be transmitted within the Statistics Report Submitting Period after the end of the previous Reporting Period.
** The End User Statistics Report MUST be transmitted, even if no other Peppol transactions happened in the Reporting Period.
-** In case the End User Statistics Report of one Service Provider is received multiple times for one Reporting Period, only the latest received document will be processed.
-** End User Statistics Reports received after the deadline WILL NOT be processed.
+** In case the End User Statistics Report of one SP is received multiple times for one Reporting Period, only the latest received document will be processed.
+** End User Statistics Reports received after the deadline (=the end of the Statistics Report Submitting Period) WILL NOT be processed.
* Data
-** Only End User Statistics Reports on the Production environment MUST be transmitted. Data for non-production environments MUST NOT be transmitted.
-** Each subset key combination MUST NOT occur more than once in an End User Statistics Report.
+** Only End User Statistics Reports on the Production environment MUST be transmitted.
+** Each Subset key combination MUST NOT occur more than once in an End User Statistics Report.
+** The data of each End User Statistics MUST be reported in the designated elements.
** The Reporting Period MUST be part of the End User Statistics Report.
-** An identifier uniquely identifying the reporting Service Provider MUST be part of the End User Statistics Report.
+** An identifier uniquely identifying the reporting SP MUST be part of the End User Statistics Report.
* Network
** End User Statistics Reports MUST be transmitted via the Peppol eDelivery Network.
diff --git a/src/eusr/docs/bis/doc-section/3syntax/fullset.adoc b/src/eusr/docs/bis/doc-section/3syntax/fullset.adoc
index a572d9e..0e49fcb 100644
--- a/src/eusr/docs/bis/doc-section/3syntax/fullset.adoc
+++ b/src/eusr/docs/bis/doc-section/3syntax/fullset.adoc
@@ -22,7 +22,7 @@ The following non-normative diagram shows an overview of the theoretical concept
Each shape represents a group of end users.
The Full Set is comprised from the outer green and blue shapes.
The overlapping part of green and blue indicate the end users that did send *and* receive.
-The orange shape indicates the subset of end users that deals with invoices - this effects both sending and receiving end users.
+The orange shape indicates the subset of end users that deals with invoices - this affects both sending and receiving end users.
The inner yellow indicates the subset of End Users that deals with invoices from/to Finland (FI) and hence is a subset of the orange shape.
image::./images/eusr-venn.png[]
diff --git a/src/eusr/docs/bis/doc-section/3syntax/snippet/snippet-1.xml b/src/eusr/docs/bis/doc-section/3syntax/snippet/snippet-1.xml
index 55fa4fa..191c886 100644
--- a/src/eusr/docs/bis/doc-section/3syntax/snippet/snippet-1.xml
+++ b/src/eusr/docs/bis/doc-section/3syntax/snippet/snippet-1.xml
@@ -28,9 +28,9 @@