Version 2.0
We use YAML type abbreviations to describe the supported types of fields.
The YAML snippets demonstrating the Pricing2Yaml specification are intentionally incomplete. Certain fields have been omitted for clarity and explanation purposes.
saasName
- required
- Field type:
str
Name of the pricing.
saasName: "Petclinic"
Pricing4Java | Pricing4TS | |
saasName | ✓ | ✓ |
version
From 2.1
in advance version
no longuer indicates the version
of the specification, use syntaxVersion
instead. version
field
still remains to indicate the current version of the pricing.
- required
- Supported value:
2.0
Version of the Pricing2Yaml specification
version: "2.0"
Libraries support
Pricing4Java | Pricing4TS | |
version | ✓ | ✓ |
createdAt
- required
- Field type:
timestamp
orstr
in ISO 8601 format
Date in which your pricing was modeled.
Timestamp:
createdAt: 2024-11-14
String in ISO 8601:
createdAt: "2024-11-14"
Libraries support
Pricing4Java | Pricing4TS | |
createdAt | ✓ | ✓ |
url
- optional
- Field type: a
str
that represents anURL
must be begin withhttp
orhttps
.
Field url
holds a URL that points to your pricing page.
url: https://example.org/pricing
Libraries support
Pricing4Java | Pricing4TS | |
url | ✓ | ✓ |
tags
- optional
- Field type:
seq
ofstr
You add one or more features into a group. These groups help features to be organized when rendering your pricing.
tags:
- Code Management
- Code Workflow
- Collaboration
features:
publicRepositories:
tag: Code Management
privateRepositories:
tag: Code Management
githubActions:
tag: Code Workflow
issues:
tag: Collaboration
Libraries support
Pricing4Java | Pricing4TS | |
tags | ✓ |